# -*- coding: utf-8 -*-
"""
created on 2017/12/7 14:47

@author: didichen
"""

# 开始url：http://www.pythonchallenge.com/pc/def/integrity.html
# 结束url：http://www.pythonchallenge.com/pc/return/good.html
# https://stackoverflow.com/questions/27642198/bz2-decompress-with-python-3-4-typeerror-str-does-not-support-the-buffer-in
import bz2

un = b'BZh91AY&SYA\xaf\x82\r\x00\x00\x01\x01\x80\x02\xc0\x02\x00 \x00!\x9ah3M\x07<]\xc9\x14\xe1BA\x06\xbe\x084'
pw = b'BZh91AY&SY\x94$|\x0e\x00\x00\x00\x81\x00\x03$ \x00!\x9ah3M\x13<]\xc9\x14\xe1BBP\x91\xf08'


print('username:', bz2.decompress(un))
print('password:', bz2.decompress(pw))
# username: b'huge'
# password: b'file'